namespace Cos.Core.NHibernate.Mapping
{
    using FluentNHibernate.Mapping;

    public class PartCultureMap : ClassMap<PartCultureDataModel>
    {
        public PartCultureMap()
        {
            this.Table("PartCulture");
            this.LazyLoad();
            Id();

            this.Map(x => x.PartId).Column("PartID");
            this.Map(x => x.CultureCode).Column("CultureCode");
            this.Map(x => x.DisplayName).Column("DisplayName");
        }
    }
}